home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1999 August / SGI Freeware 1999 August.iso / dist / fw_xemacs.idb / usr / freeware / lib / xemacs-20.4 / etc / sgml / ie30.dtd.z / ie30.dtd
Encoding:
Text File  |  1998-05-21  |  26.5 KB  |  868 lines

  1. <!--
  2.         Microsoft Document Type Definition for Internet Explorer 3.0 HTML.
  3.  
  4.                 Version: 0.9    Date: 11/7/96
  5.  
  6.                 Author: Mark Buckley <mbuckley@microsoft.com>
  7.  
  8.                 This markup is based as much as possible on the DTD for HTML 3.
  9. 2
  10.                 published by W3C (also known as the Wilbur DTD), dated 5/31/96.
  11. -->
  12.  
  13. <!ENTITY % HTML.Version
  14.         "-//Microsoft//DTD Internet Explorer 3.0 HTML//EN" >
  15.  
  16. <!--================== Deprecated Features Switch =========================-->
  17.  
  18. <!ENTITY % HTML.Recommended "IGNORE" >
  19.  
  20. <![ %HTML.Recommended [
  21.         <!ENTITY % HTML.Deprecated "IGNORE">
  22. ]]>
  23.  
  24. <!ENTITY % HTML.Deprecated "INCLUDE">
  25.  
  26. <!--================== Imported Names =====================================-->
  27.  
  28. <!ENTITY % Content-Type "CDATA"
  29.         -- meaning a MIME content type, as per RFC1521
  30.         -->
  31.  
  32. <!ENTITY % HTTP-Method "GET | POST"
  33.         -- as per HTTP specification
  34.         -->
  35.  
  36. <!ENTITY % URL "CDATA"
  37.         -- The term URL means a CDATA attribute
  38.            whose value is a Uniform Resource Locator,
  39.            See RFC1808 (June 95) and RFC1738 (Dec 94).
  40.         -->
  41.  
  42. <!--========= Common attributes ============================================-->
  43.  
  44. <!ENTITY % attrs  -- common attributes. Taken from the HTML 3 DTD --
  45.         'id     ID      #IMPLIED -- as target for hrefs (link ends) --
  46.          lang   CDATA   "en.us"  -- ISO language, country code --
  47.          class  NAMES   #IMPLIED -- for subclassing elements --
  48.          style  CDATA   #IMPLIED'>
  49.  
  50. <!--========= Color attribute ============================================-->
  51.  
  52. <!ENTITY % color "CDATA" -- a color specification: #HHHHHH @@ details? -->
  53.  
  54.  
  55. <!--================ Character mnemonic entities ==========================-->
  56.  
  57. <!ENTITY % ISOlat1 PUBLIC
  58.        "ISO 8879-1986//ENTITIES Added Latin 1//EN//HTML">
  59. %ISOlat1;
  60.  
  61. <!--================ Entities for special symbols =========================-->
  62. <!-- &trade ­ and &cbsp are not widely deployed and so not included here -->
  63.  
  64. <!ENTITY copy   CDATA "©"   -- copyright sign     -->
  65. <!ENTITY reg    CDATA "®"   -- registered sign    -->
  66. <!ENTITY amp    CDATA "&"   -- ampersand          -->
  67. <!ENTITY gt     CDATA ">"   -- greater than       -->
  68. <!ENTITY lt     CDATA "<"   -- less than          -->
  69. <!ENTITY quot   CDATA """   -- double quote       -->
  70. <!ENTITY nbsp   CDATA " "  -- non breaking space -->
  71.  
  72. <!-- Parameter Entities -->
  73.  
  74. <!ENTITY % heading "H1|H2|H3|H4|H5|H6">
  75.  
  76.  
  77. <!--=================== Text Content =======================================-->
  78.  
  79. <![ %HTML.Deprecated [
  80. <!ENTITY % font "TT | I | B  | U | STRIKE | BIG | SMALL | SUB | SUP | FONT | S"
  81. >
  82. ]]>
  83.  
  84. <!ENTITY % font "TT | I | B  | U | STRIKE | BIG | SMALL | SUB | SUP | FONT">
  85.  
  86. <![ %HTML.Deprecated [
  87.         <!ENTITY % phrase "EM | STRONG | DFN |CODE | SAMP | KBD | VAR | CITE |
  88. ENTITY">
  89. ]]>
  90.  
  91. <!ENTITY % phrase "EM | STRONG | DFN | CODE | SAMP | KBD | VAR | CITE | SPAN">
  92.  
  93. <!ENTITY % break        "BR | NOBR | WBR" >
  94.  
  95. <!ENTITY % anchors "A" >
  96.  
  97. <![ %HTML.Deprecated [
  98. <!ENTITY % mmobjects "IMG | APPLET | SCRIPT | NOSCRIPT | MAP | BGSOUND | MARQUE
  99. E | OBJECT | EMBED" >
  100. ]]>
  101.  
  102. <!ENTITY % mmobjects "IMG | APPLET | SCRIPT | NOSCRIPT | MAP | BGSOUND | MARQUE
  103. E | OBJECT" >
  104.  
  105. <!ENTITY % formitems "INPUT | SELECT | TEXTAREA">
  106.  
  107. <![ %HTML.Deprecated [
  108.         <!ENTITY % text "#PCDATA | %font | %phrase | %break | %anchors | %mmobj
  109. ects | %formitems">
  110. ]]>
  111.  
  112. <!ENTITY % text "#PCDATA | %font | %phrase | %break | %anchors | %mmobjects">
  113.  
  114. <!--=================== Flow Content =======================================-->
  115.  
  116. <!ENTITY % list "UL | OL | DL | DIR | MENU">
  117.  
  118. <![ %HTML.Deprecated [
  119.     <!ENTITY % preformatted "PRE | XMP | LISTING | PLAINTEXT">
  120. ]]>
  121.  
  122. <!ENTITY % preformatted "PRE">
  123.  
  124.  
  125. <![ %HTML.Deprecated [
  126. <!ENTITY % block
  127.      "P | %list | %preformatted | DIV | BLOCKQUOTE | FORM | ISINDEX |
  128.          HR | TABLE | IFRAME | CENTER">
  129. ]]>
  130.  
  131. <!ENTITY % block
  132.      "P | %list | %preformatted | DIV | BLOCKQUOTE | FORM | ISINDEX |
  133.          HR | TABLE | IFRAME">
  134.  
  135.  
  136. <![ %HTML.Deprecated [
  137. <!ENTITY % mixed.content "(%heading|%text|%block|ADDRESS|BASEFONT)*" >
  138. ]]>
  139.  
  140. <!-- %flow is used for DD and LI -->
  141.  
  142. <![ %HTML.Deprecated [
  143. <!ENTITY % flow "(%mixed.content)*">
  144. ]]>
  145.  
  146. <!ENTITY % flow "(%text | %block)*">
  147.  
  148. <![ %HTML.Deprecated [
  149. <!ENTITY % font.content "(%mixed.content)*">
  150. ]]>
  151.  
  152. <!ENTITY % font.content "(%text)*">
  153.  
  154.  
  155. <!-- Text Elements -->
  156.  
  157. <!ELEMENT (%font) - -  %font.content >
  158.  
  159. <!ATTLIST FONT
  160.         %attrs;
  161.     size    CDATA   #IMPLIED    -- [+]nn e.g. size="+1", size=4 --
  162.     color   %color      #IMPLIED    -- #RRGGBB in hex, e.g. red: color="#FF0000
  163. " --
  164.         face    CDATA   #IMPLIED
  165.     >
  166.  
  167. <!ATTLIST (TT | I | B  | U | STRIKE | BIG | SMALL | SUB | SUP)
  168.         %attrs;
  169.     size    CDATA   #IMPLIED    -- [+]nn e.g. size="+1", size=4 --
  170.     color   %color      #IMPLIED    -- #RRGGBB in hex, e.g. red: color="#FF0000
  171. " --
  172.         face    CDATA   #IMPLIED
  173.         >
  174.  
  175. <![ %HTML.Deprecated [
  176.         <!ATTLIST S
  177.                 %attrs;
  178.                 >
  179. ]]>
  180.  
  181. <!ELEMENT (%phrase) - - (%text)*>
  182. <!ATTLIST (%phrase)
  183.         %attrs;
  184.         >
  185.  
  186. <!ELEMENT (%break)    - O EMPTY   -- forced line break -->
  187.  
  188. <!ATTLIST BR
  189.         %attrs;
  190.         clear (left|all|right|none) none -- control of text flow --
  191.         >
  192.  
  193. <!ATTLIST (NOBR | WBR)
  194.         %attrs;
  195.         >
  196.  
  197. <!--=================== Document Body =====================================-->
  198.  
  199. <![ %HTML.Recommended [
  200.         <!ENTITY % body.content "(%heading|%block|%mmobjects|ADDRESS|BASEFONT)*
  201. " >
  202. ]]>
  203.  
  204. <![ %HTML.Deprecated [
  205. <!ENTITY % body.content "%mixed.content" >
  206. ]]>
  207.  
  208. <!ENTITY % body-color-attrs "
  209.     bgcolor %color #IMPLIED
  210.     text %color #IMPLIED
  211.     link %color #IMPLIED
  212.     vlink %color #IMPLIED
  213.     alink %color #IMPLIED
  214.         ">
  215.  
  216. <!ELEMENT BODY O O  %body.content>
  217. <!ATTLIST BODY
  218.         %attrs;
  219.     background          %URL    #IMPLIED  -- texture tile for document backgrou
  220. nd --
  221.     %body-color-attrs;          -- bgcolor, text, link, vlink, alink --
  222.         bgproperties    CDATA   #IMPLIED
  223.         leftmargin      NUMBER  #IMPLIED
  224.         topmargin       NUMBER  #IMPLIED
  225.         >
  226.  
  227. <![ %HTML.Deprecated [
  228.         <!ENTITY % address.content "((%text;) | P | CENTER)*">
  229. ]]>
  230.  
  231. <!ENTITY % address.content "((%text;) | P )*">
  232.  
  233. <!ELEMENT ADDRESS - - %address.content>
  234. <!ATTLIST  ADDRESS
  235.         %attrs;
  236.         >
  237.  
  238. <!ELEMENT DIV - - %body.content>
  239. <!ATTLIST DIV
  240.                 %attrs
  241.         align   (left|center|right) left -- alignment of following text --
  242.         >
  243.  
  244. <![ %HTML.Deprecated [
  245.         <!-- CENTER is a shorthand for DIV with ALIGN=CENTER -->
  246.         <!ELEMENT center - - %mixed.content>
  247.         <!ATTLIST center
  248.                 %attrs
  249.                 >
  250. ]]>
  251.  
  252. <!--================== The Anchor Element =================================-->
  253.  
  254. <!ELEMENT A - - (%text)* -(A)>
  255. <!ATTLIST A
  256.                 %attrs
  257.         name    CDATA   #IMPLIED    -- named link end --
  258.         href    %URL    #IMPLIED    -- URL for linked resource --
  259.         rel     CDATA   #IMPLIED    -- forward link types --
  260.         rev     CDATA   #IMPLIED    -- reverse link types --
  261.         title   CDATA   #IMPLIED    -- advisory title string --
  262.                 target  CDATA   #IMPLIED        -- frame target --
  263.         >
  264.  
  265. <!--================== Client-side image maps ============================-->
  266.  
  267. <!-- These can be placed in the same document or grouped in a
  268.      separate document although this isn't yet widely supported -->
  269.  
  270. <!ENTITY % SHAPE "(rect|rectangle|circ|circle|poly|polygon|default)">
  271. <!ENTITY % COORDS "CDATA" -- comma separated list of numbers -->
  272.  
  273. <!ELEMENT MAP - - (AREA)*>
  274. <!ATTLIST MAP
  275.     name    CDATA   #IMPLIED
  276.     >
  277.  
  278. <!ELEMENT AREA - O EMPTY>
  279. <!ATTLIST AREA
  280.         %attrs
  281.     shape   %SHAPE  rect
  282.     coords  %COORDS #IMPLIED  -- always needed except for shape=default --
  283.     href    %URL    #IMPLIED  -- this region acts as hypertext link --
  284.     nohref (nohref) #IMPLIED  -- this region has no action --
  285.     alt     CDATA   #IMPLIED
  286.         target  CDATA   #IMPLIED
  287.     >
  288.  
  289. <!--================== The LINK Element ==================================-->
  290.  
  291. <!ENTITY % Types "CDATA"
  292.         -- See Internet Draft: draft-ietf-html-relrev-00.txt
  293.            LINK has been part of HTML since the early days
  294.            although few browsers as yet take advantage of it.
  295.  
  296.            Relationship values can be used in principle:
  297.  
  298.                 a) for document specific toolbars/menus when used
  299.                    with the LINK element in document head:
  300.                 b) to link to a separate style sheet (rel=stylesheet)
  301.                 c) to make a link to a script (rel=script)
  302.                 d) by stylesheets to control how collections of
  303.                    html nodes are rendered into printed documents
  304.                 e) to make a link to a printable version of this document
  305.                    e.g. a postscript or pdf version (rel=print)
  306. -->
  307.  
  308. <!ELEMENT LINK - O EMPTY>
  309. <!ATTLIST LINK
  310.         %attrs;
  311.     href    %URL    #IMPLIED    -- URL for linked resource --
  312.     rel     %Types  #IMPLIED    -- forward link types --
  313.     rev     %Types  #IMPLIED    -- reverse link types --
  314.     title   CDATA   #IMPLIED    -- advisory title string --
  315.         >
  316.  
  317. <!--=================== Images ============================================-->
  318.  
  319. <!ENTITY % Length "CDATA" -- nn for pixels or nn% for percentage length -->
  320. <!ENTITY % Pixels "CDATA" -- integer representing length in pixels -->
  321.  
  322. <!-- Suggested widths are used for negotiating image size
  323.      with the module responsible for painting the image.
  324.      align=left or right cause image to float to margin
  325.      and for subsequent text to wrap around image -->
  326.  
  327. <!ENTITY % IAlign "(top|middle|bottom|left|right)">
  328.  
  329. <!ELEMENT IMG    - O EMPTY --  Embedded image -->
  330. <!ATTLIST IMG
  331.         %attrs;
  332.     src         %URL     #REQUIRED  -- URL of image to embed --
  333.     alt         CDATA    #IMPLIED   -- for display in place of image --
  334.     align       %IAlign  #IMPLIED   -- vertical or horizontal alignment --
  335.     height      %Pixels  #IMPLIED   -- suggested height in pixels --
  336.     width       %Pixels  #IMPLIED   -- suggested width in pixels --
  337.     border      %Pixels  #IMPLIED   -- suggested link border width --
  338.     hspace      %Pixels  #IMPLIED   -- suggested horizontal gutter --
  339.     vspace      %Pixels  #IMPLIED   -- suggested vertical gutter --
  340.     usemap      %URL     #IMPLIED   -- use client-side image map --
  341.     ismap       (ismap)  #IMPLIED   -- use server image map --
  342.     dynsrc      %URL     #IMPLIED  -- URL of image to embed --
  343.         start   NAMES   #IMPLIED
  344.         loop    NMTOKEN #IMPLIED
  345.         controls        (controls)      #IMPLIED
  346.         vrml    CDATA   #IMPLIED
  347.     >
  348.  
  349. <!-- USEMAP points to a MAP element which may be in this document
  350.   or an external document, although the latter is not widely supported -->
  351.  
  352. <!--=================== Java APPLET tag ===================================-->
  353. <!--
  354.   This tag is supported by all java enabled browsers. Applet resources
  355.   (including their classes) are normally loaded relative to the document
  356.   URL (or <BASE> element if it is defined). The CODEBASE attribute is used
  357.   to change this default behavior. If the CODEBASE attribute is defined then
  358.   it specifies a different location to find applet resources. The value
  359.   can be an absolute URL or a relative URL. The absolute URL is used as is
  360.   without modification and is not effected by the documents <BASE> element.
  361.   When the codebase attribute is relative, then it is relative to the
  362.   document URL (or <BASE> tag if defined). <TEXTFLOW> avoids the problems
  363.   with SGML mixed content. It can always be omitted *except* when the APPLET
  364.   element hasn't any content. White space, comments and PARAM elements
  365.   don't count as content for this purpose. TEXTFLOW was introduced into
  366.   the DTD to satisfy SGML parsers, but is ignored by current Web browsers.
  367. -->
  368. <!ELEMENT APPLET - - (PARAM*, TEXTFLOW)>
  369. <!ATTLIST APPLET
  370.                 %attrs
  371.         codebase %URL     #IMPLIED   -- code base --
  372.         code     CDATA    #REQUIRED  -- class file --
  373.         name     CDATA    #IMPLIED   -- applet name --
  374.         alt      CDATA    #IMPLIED   -- for display in place of applet --
  375.         align    %IAlign  #IMPLIED   -- vertical or horizontal alignment --
  376.         height   %Pixels  #REQUIRED  -- suggested height in pixels --
  377.         width    %Pixels  #REQUIRED  -- suggested width in pixels --
  378.         hspace   %Pixels  #IMPLIED   -- suggested horizontal gutter --
  379.         vspace   %Pixels  #IMPLIED   -- suggested vertical gutter --
  380.                 border  NUMBER  #IMPLIED
  381.         >
  382.  
  383.  
  384. <!ELEMENT TEXTFLOW O O (%text)* -- needed to bypass mixed content model -->
  385.  
  386. <!--
  387. Here is an example:
  388.  
  389.     <applet codebase="applets/NervousText"
  390.         code=NervousText.class
  391.         width=300
  392.         height=50>
  393.     <param name=text value="Java is Cool!">
  394.     <img src=sorry.gif alt="This looks better with Java support">
  395.     </applet>
  396. -->
  397.  
  398. <!--=================== Horizontal Rule ===================================-->
  399.  
  400. <!ELEMENT HR    - O EMPTY>
  401. <!ATTLIST HR
  402.         %attrs;
  403.     align (left|right|center) #IMPLIED
  404.     noshade (noshade) #IMPLIED
  405.     size        %Pixels #IMPLIED
  406.     width       %Length #IMPLIED
  407.         color   %color  #IMPLIED
  408.     >
  409.  
  410. <!--=================== Paragraphs=========================================-->
  411.  
  412. <![ %HTML.Deprecated [
  413.         <!ENTITY % P.content    "(%text|CENTER)*" >
  414. ]]>
  415.  
  416. <!ENTITY % P.content    "(%text)*" >
  417.  
  418. <!ELEMENT P     - O %P.content >
  419. <!ATTLIST P
  420.         %attrs;
  421.     align  (left|center|right) #IMPLIED
  422.     >
  423.  
  424.  
  425. <!--=================== Base Font =========================================-->
  426.  
  427. <!ELEMENT BASEFONT      - O EMPTY>
  428. <!ATTLIST BASEFONT
  429.         %attrs;
  430.         size    NUMBER  #IMPLIED
  431.         color   %color  #IMPLIED
  432.         face    CDATA   #IMPLIED
  433.         >
  434.  
  435. <!--=================== Background Sound =================================-->
  436.  
  437. <!ELEMENT BGSOUND  - O EMPTY>
  438. <!ATTLIST BGSOUND
  439.         %attrs;
  440.         src             %URL    #IMPLIED
  441.         loop    NMTOKEN #IMPLIED
  442.         start   CDATA   #IMPLIED
  443.         >
  444.  
  445. <!--=================== Marquee =========================================-->
  446.  
  447. <!ELEMENT MARQUEE  - O (%text)*>
  448. <!ATTLIST MARQUEE
  449.         %attrs;
  450.         align (top|middle|bottom) top
  451.         behavior        (scroll|slide|alternate)        SCROLL
  452.         bgcolor %color  #IMPLIED
  453.         direction       (left|right)    LEFT
  454.         height  CDATA   #IMPLIED
  455.         hspace  NUMBER  #IMPLIED
  456.         loop    CDATA   #IMPLIED
  457.         scrollamount    NUMBER  #IMPLIED
  458.         scrolldelay     NUMBER  #IMPLIED
  459.         vspace  NUMBER  #IMPLIED
  460.         width   CDATA   #IMPLIED
  461.         border  NUMBER  #IMPLIED
  462.     background  %URL    #IMPLIED  -- texture tile for document background --
  463.         >
  464.  
  465. <!--=================== Headings ==========================================-->
  466.  
  467. <!--
  468.   There are six levels of headers from H1 (the most important)
  469.   to H6 (the least important).
  470. -->
  471.  
  472. <!ELEMENT ( %heading )  - -  %P.content >
  473. <!ATTLIST ( %heading )
  474.                 %attrs
  475.         align  (left|center|right) #IMPLIED
  476.         >
  477.  
  478. <!--=================== Preformatted Text =================================-->
  479.  
  480. <!-- excludes images and changes in font size -->
  481.  
  482. <!ENTITY % pre.exclusion "IMG|BIG|SMALL|SUB|SUP|FONT">
  483.  
  484. <!ELEMENT PRE - - (%text)* -(%pre.exclusion)>
  485. <!ATTLIST PRE
  486.         %attrs;
  487.         width NUMBER #implied
  488.         >
  489.  
  490. <![ %HTML.Deprecated [
  491.  
  492. <!ENTITY % literal "CDATA"
  493.         -- historical, non-conforming parsing mode where
  494.            the only markup signal is the end tag
  495.            in full
  496.         -->
  497.  
  498. <!ELEMENT (XMP|LISTING) - -  %literal>
  499. <!ELEMENT PLAINTEXT - O %literal>
  500.  
  501. <!ATTLIST (XMP|LISTING|PLAINTEXT)
  502.         %attrs;
  503.         >
  504.  
  505. ]]>
  506.  
  507. <!--=================== Block-like Quotes =================================-->
  508.  
  509. <!ELEMENT BLOCKQUOTE - - %body.content>
  510. <!ATTLIST BLOCKQUOTE
  511.         %attrs;
  512.         >
  513.  
  514. <!--=================== Lists =============================================-->
  515.  
  516. <!--
  517.     HTML 3.2 allows you to control the sequence number for ordered lists.
  518.     You can set the sequence number with the START and VALUE attributes.
  519.     The TYPE attribute may be used to specify the rendering of ordered
  520.     and unordered lists.
  521. -->
  522.  
  523. <!-- definition lists - DT for term, DD for its definition -->
  524.  
  525. <!ELEMENT DL    - -  (DT|DD)*>
  526. <!ATTLIST DL
  527.         %attrs;
  528.         compact (compact) #IMPLIED -- more compact style --
  529.         >
  530.  
  531. <!ELEMENT DT - O  (%text)*>
  532. <!ATTLIST DT
  533.         %attrs;
  534.         >
  535.  
  536. <!ELEMENT DD - O  %flow;>
  537. <!ATTLIST DD
  538.         %attrs;
  539.         >
  540.  
  541. <!-- Ordered lists OL, and unordered lists UL -->
  542. <!ELEMENT (OL|UL) - -  (LI)*>
  543.  
  544. <!--
  545.        Numbering style
  546.     1   arabic numbers      1, 2, 3, ...
  547.     a   lower alpha         a, b, c, ...
  548.     A   upper alpha         A, B, C, ...
  549.     i   lower roman         i, ii, iii, ...
  550.     I   upper roman         I, II, III, ...
  551.  
  552.     The style is applied to the sequence number which by default
  553.     is reset to 1 for the first list item in an ordered list.
  554.  
  555.     This can't be expressed directly in SGML due to case folding.
  556. -->
  557.  
  558. <!ENTITY % OLStyle "CDATA" -- constrained to: [1|a|A|i|I] -->
  559.  
  560. <!ATTLIST OL -- ordered lists --
  561.         %attrs;
  562.     type      %OLStyle   #IMPLIED   -- numbering style --
  563.     start     NUMBER     #IMPLIED   -- starting sequence number --
  564.     compact  (compact)   #IMPLIED   -- reduced interitem spacing --
  565.         >
  566.  
  567. <!-- bullet styles -->
  568.  
  569. <!ENTITY % ULStyle "disc|square|circle">
  570.  
  571. <!ATTLIST UL -- unordered lists --
  572.         %attrs;
  573.     type    (%ULStyle)   #IMPLIED   -- bullet style --
  574.     compact (compact)    #IMPLIED   -- reduced interitem spacing --
  575.     >
  576.  
  577. <!ELEMENT (DIR|MENU) - -  (LI)* -(%block)>
  578. <!ATTLIST (DIR|MENU)
  579.         %attrs;
  580.     compact (compact) #IMPLIED
  581.     >
  582.  
  583. <!-- The type attribute can be used to change the bullet style
  584.      in unordered lists and the numbering style in ordered lists -->
  585.  
  586. <!ENTITY % LIStyle "CDATA" -- constrained to: "(%ULStyle|%OLStyle)" -->
  587.  
  588. <!ELEMENT LI - O %flow -- list item -->
  589. <!ATTLIST LI
  590.         %attrs;
  591.     type    %LIStyle     #IMPLIED   -- list item style --
  592.     value    NUMBER      #IMPLIED   -- reset sequence number --
  593.     >
  594.  
  595. <!--================ Forms ===============================================-->
  596.  
  597. <!ELEMENT FORM - - %body.content -(FORM) +(%formitems)>
  598. <!ATTLIST FORM
  599.         %attrs;
  600.     action %URL #REQUIRED -- server-side form handler --
  601.     method (%HTTP-Method) GET -- see HTTP specification --
  602.     enctype %Content-Type; "application/x-www-form-urlencoded"
  603.         name    CDATA   #IMPLIED
  604.         target  CDATA   #IMPLIED
  605.         >
  606.  
  607. <!ENTITY % InputType
  608.         "(TEXT | TEXTAREA | PASSWORD | CHECKBOX | RADIO | SUBMIT
  609.             | RESET | FILE | HIDDEN | IMAGE)">
  610.  
  611. <!ELEMENT INPUT - O EMPTY>
  612. <!ATTLIST INPUT
  613.         %attrs;
  614.     type %InputType TEXT     -- what kind of widget is needed --
  615.     name  CDATA #IMPLIED     -- required for all but submit and reset --
  616.     value CDATA #IMPLIED     -- required for radio and checkboxes --
  617.         checked (checked|true|false) #IMPLIED -- for radio buttons and check bo
  618. xes --
  619.     size CDATA  #IMPLIED     -- specific to each type of field --
  620.     maxlength NUMBER #IMPLIED
  621.     src   %URL  #IMPLIED     -- for fields with background images --
  622.     align  (top|middle|bottom|left|right) top -- image alignment --
  623.     >
  624.  
  625. <!ELEMENT SELECT - - (OPTION+)>
  626. <!ATTLIST SELECT
  627.         %attrs;
  628.     name CDATA #REQUIRED
  629.     size NUMBER #IMPLIED
  630.     multiple (multiple) #IMPLIED
  631.     >
  632.  
  633. <!ELEMENT OPTION - O (#PCDATA)*>
  634. <!ATTLIST OPTION
  635.         %attrs;
  636.     selected (selected) #IMPLIED
  637.     value  CDATA  #IMPLIED -- defaults to element content --
  638.     >
  639.  
  640. <!-- Multi-line text input field. -->
  641.  
  642. <!ELEMENT TEXTAREA - - (#PCDATA)* -(INPUT|SELECT|TEXTAREA)>
  643. <!ATTLIST TEXTAREA
  644.         %attrs;
  645.     name CDATA #REQUIRED
  646.     rows NUMBER #REQUIRED
  647.     cols NUMBER #REQUIRED
  648.     >
  649.  
  650. <!--======================= Tables ========================================-->
  651.  
  652. <!-- Invoke TABLES DTD  -->
  653. <!ENTITY % ietables PUBLIC "-//Microsoft//DTD Internet Explorer 3.0 Tables//EN"
  654.  >
  655. %ietables;
  656.  
  657. <!--================ Document Head ========================================-->
  658.  
  659. <!ENTITY % head.misc "SCRIPT|STYLE|META|LINK|BGSOUND" -- repeatable head elemen
  660. ts -->
  661.  
  662. <![ %HTML.Deprecated [
  663.         <!ENTITY % head.content "TITLE & ISINDEX? & BASE? & NEXTID?">
  664. ]]>
  665.  
  666. <!ENTITY % head.content "TITLE & ISINDEX? & BASE?">
  667.  
  668. <!ELEMENT HEAD O O  (%head.content) +(%head.misc)>
  669.  
  670. <!ELEMENT TITLE - -  (#PCDATA)* -(%head.misc)
  671.           -- The TITLE element is not considered part of the flow of text.
  672.              It should be displayed, for example as the page header or
  673.              window title.
  674.           -->
  675.  
  676. <!ELEMENT ISINDEX - O EMPTY>
  677. <!ATTLIST ISINDEX
  678.         %attrs
  679.     prompt      CDATA   #IMPLIED -- prompt message --
  680.         action  CDATA   #IMPLIED >
  681.  
  682. <!--
  683.     The BASE element gives an absolute URL for dereferencing relative
  684.     URLs, e.g.
  685.  
  686.          <BASE href="http://foo.com/index.html">
  687.          ...
  688.          <IMG SRC="images/bar.gif">
  689.  
  690.     The image is deferenced to
  691.  
  692.          http://foo.com/images/bar.gif
  693.  
  694.    In the absence of a BASE element the document URL should be used.
  695.    Note that this is not necessarily the same as the URL used to
  696.    request the document, as the base URL may be overridden by an HTTP
  697.    header accompanying the document.
  698. -->
  699.  
  700. <!ELEMENT BASE - O EMPTY>
  701. <!ATTLIST BASE
  702.         href %URL  #REQUIRED
  703.                 target  CDATA   #IMPLIED
  704.         >
  705.  
  706. <![ %HTML.Deprecated [
  707.         <!ELEMENT NEXTID - O EMPTY>
  708.         <!ATTLIST NEXTID
  709.                 N       CDATA #REQUIRED >
  710. ]]>
  711.  
  712. <!ELEMENT META - O EMPTY -- Generic Metainformation -->
  713. <!ATTLIST META
  714.         http-equiv  NAME    #IMPLIED  -- HTTP response header name  --
  715.         name        NAME    #IMPLIED  -- metainformation name       --
  716.         content     CDATA   #REQUIRED -- associated information     --
  717.                 charset         CDATA   #IMPLIED
  718.         >
  719.  
  720. <!-- SCRIPT/STYLE are place holders for transition to next version of HTML -->
  721.  
  722. <!ELEMENT STYLE  - - (#PCDATA)*  -(%head.misc) -- style info -->
  723. <!ATTLIST STYLE
  724.         type            CDATA   #IMPLIED
  725.         title           CDATA   #IMPLIED   >
  726.  
  727. <!-- Script markup taken from WD-script-960208 found at
  728.      http://www.w3.org/pub/WWW/TR/WD-script.html -->
  729.  
  730. <!-- SCRIPT is a character-like element for embedding script code
  731.       that can be placed anywhere in the document HEAD or BODY -->
  732.  
  733. <!ENTITY % Event "CDATA" -- event name and optional param list -->
  734.  
  735. <!ELEMENT SCRIPT        - - (#PCDATA)*   -(%head.misc)>
  736. <!ATTLIST SCRIPT
  737.         %attrs;
  738.     type         CDATA    #IMPLIED -- script language media type --
  739.     language     CDATA    #IMPLIED -- predefined script language name --
  740.     src          %URL     #IMPLIED -- URL for an external script --
  741.     name             CDATA    #IMPLIED
  742.         >
  743.  
  744. <!ELEMENT NOSCRIPT - - (%body.content)>
  745. <!ATTLIST NOSCRIPT
  746.         %attrs;
  747.         >
  748.  
  749. <!--================ Document Structure ===================================-->
  750.  
  751. <!ENTITY % version.attr "VERSION CDATA #FIXED '%HTML.Version;'">
  752.  
  753. <!ELEMENT HTML O O  (HEAD, (BODY|FRAMESET) )>
  754. <!ATTLIST HTML
  755.                 %attrs
  756.         %version.attr
  757.         >
  758.  
  759. <!-- Frames -->
  760.  
  761. <!ELEMENT FRAMESET      - -     (FRAMESET|FRAME|NOFRAMES)+ >
  762. <!ATTLIST FRAMESET
  763.         %attrs;
  764.         layout  (TILES|PAGES)   TILES
  765.         rows    CDATA   #IMPLIED
  766.         cols    CDATA   #IMPLIED
  767.         framespacing    CDATA   #IMPLIED
  768.         frameborder     NUMBER  #IMPLIED
  769.         >
  770.  
  771. <!ELEMENT FRAME - O     EMPTY >
  772. <!ATTLIST FRAME
  773.         %attrs;
  774.         src             CDATA   #REQUIRED
  775.         name    CDATA   #IMPLIED
  776.         height  NUMBER  #IMPLIED
  777.         hspace  NUMBER  #IMPLIED
  778.         width   NUMBER  #IMPLIED
  779.         vspace  NUMBER  #IMPLIED
  780.         marginwidth     NUMBER #IMPLIED -- check this --
  781.         marginheight    NUMBER #IMPLIED -- check this --
  782.         frameborder     CDATA   #IMPLIED        -- need to check with IE --
  783.         framespacing    NUMBER  #IMPLIED
  784.         scrolling       (YES|NO|AUTO)   AUTO
  785.         noresize        (NORESIZE)      #IMPLIED
  786.         align   (LEFT|CENTER|RIGHT|TOP|TEXTTOP|MIDDLE|ABSMIDDLE|
  787.                 BASELINE|BOTTOM|ABSBOTTOM)      #IMPLIED
  788.         >
  789.  
  790. <!ELEMENT IFRAME        - O     EMPTY >
  791. <!ATTLIST IFRAME
  792.         %attrs;
  793.         src             CDATA   #REQUIRED
  794.         name    CDATA   #IMPLIED
  795.         marginwidth     NUMBER #IMPLIED
  796.         marginheight    NUMBER #IMPLIED
  797.         border  CDATA   #IMPLIED
  798.         frameborder     CDATA   #IMPLIED
  799.         framespacing    NUMBER  #IMPLIED
  800.         scrolling       (YES|NO|AUTO)   AUTO
  801.         noresize        (NORESIZE)      #IMPLIED
  802.         align   (LEFT|CENTER|RIGHT|TOP|MIDDLE|BOTTOM)   #IMPLIED
  803.         >
  804.  
  805. <!ELEMENT NOFRAMES      - -     %body.content >
  806.  
  807. <!-- Objects
  808.  
  809. Adapted from
  810. WD-object-960422: Inserting objects into HTM
  811. http://www.w3.org/pub/WWW/TR/WD-object.html
  812. 5/9/96
  813.  
  814. -->
  815.  
  816. <!ENTITY % OAlign "(texttop|middle|textmiddle|baseline|
  817.                             textbottom|left|center|right)">
  818.  
  819. <!-- OBJECT is a character-like element for inserting objects -->
  820. <!ELEMENT OBJECT - - (PARAM | %body.content;)*>
  821. <!ATTLIST OBJECT
  822.         %attrs      -- id, class, style, lang, dir --
  823.         declare (declare) #IMPLIED  -- declare but don't instantiate flag --
  824.         classid %URL     #IMPLIED   -- identifies an implementation --
  825.         codebase %URL    #IMPLIED   -- some systems need an additional URL --
  826.         data    %URL     #IMPLIED   -- reference to object's data --
  827.         type    CDATA    #IMPLIED   -- Internet media type for data --
  828.         codetype CDATA   #IMPLIED   -- Internet media type for code --
  829.         standby CDATA    #IMPLIED   -- message to show while loading --
  830.         align   %OAlign #IMPLIED   -- positioning inside document --
  831.         height  %Length  #IMPLIED   -- suggested height --
  832.         width   %Length  #IMPLIED   -- suggested width --
  833.         border  %Length  #IMPLIED   -- suggested link border width --
  834.         hspace  %Length  #IMPLIED   -- suggested horizontal gutter --
  835.         vspace  %Length  #IMPLIED   -- suggested vertical gutter --
  836.                 ismap   (ismap)  #IMPLIED   -- use server image map --
  837.         usemap  %URL     #IMPLIED   -- reference to image map --
  838.         shapes  (shapes) #IMPLIED   -- object has shaped hypertext links --
  839.         name    %URL     #IMPLIED   -- submit as part of form --
  840.         >
  841.  
  842. <!ELEMENT PARAM - O EMPTY -- named property value -->
  843. <!ATTLIST PARAM
  844.         name      CDATA             #REQUIRED  -- property name --
  845.         value     CDATA             #IMPLIED   -- property value --
  846.         valuetype (DATA|REF|OBJECT) DATA       -- How to interpret value --
  847.         type      CDATA             #IMPLIED   -- Internet media type --
  848.         >
  849.  
  850. <![ %HTML.Deprecated [
  851.  
  852. <!ELEMENT EMBED - - (NOEMBED | %body.content;)* >
  853. <!ATTLIST EMBED
  854.         %attrs;
  855.     name        CDATA   #IMPLIED
  856.         height  CDATA   #IMPLIED
  857.         width   CDATA   #IMPLIED
  858.         param   CDATA   #IMPLIED
  859.     src         %URL    #REQUIRED  -- URL of image to embed --
  860.                 >
  861.  
  862. <!ELEMENT NOEMBED       - O     EMPTY>
  863.  
  864. ]]>
  865.  
  866.  
  867.  
  868.